<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
	
	(function(a){alert(a);})(2);
	
	var config = {
			uploadDataFieldName:'excel',
			url:'method_upload_file.action',
			selectHandler:'selectHandler',
			uploadCompleteDataHandler:'uploadCompleteDataHandler'
	};
	
	function getConfig(){
		return config;
	}
	function uploadCompleteDataHandler(data){
		$("#result").html(data);
	}
	function selectHandler(fileInfo){
		$("#divFileInfo").html(fileInfo.name);
	}
</script>
</head>
<body>
<div id="divFileInfo"></div>
<div id="result"></div>

<div>
	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="FileUploadManager" width="100%" height="100%"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="fileupload-0.1/FileUploadManager.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#869ca7" />
			<param name="allowScriptAccess" value="sameDomain" />
			<embed src="fileupload-0.1/FileUploadManager.swf" quality="high" bgcolor="#869ca7"
				width="100%" height="100%" name="FileUploadManager" align="middle"
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</div>
</body>
</html>